"Could" is the past of can which expresses ability and permission. "Was able to" expresses the same idea, but is often used for a specific situation.

Example Sentences

She couldn't attend that class last semester.

He wasn't able to buy tickets for the concert on Saturday.