I know that "could" is used for past ability but also I see some other sentences like "Could you please..." or something like this which actually doesn't mean an ability in the past.
What are the other kinds of usage for "could"?
Could is used to express unreal meaning, possibility and ability, but, when used in a question, it also offers a more polite way than can to ask permission.