Difference between can and be able to

Both can and be able to can be used to talk about ability. In some cases they are interchangeable. Using can Can is used in