Both “can” and “could” are Modal Verbs. Despite this similarity, “can” speaks of present/future actions, and “could” speaks of actions that occurred in the past. Here is an example of dialogue:
Can penguins fly?
No, they cannot.
Could they fly a long time ago?
No, they couldn’t.