The apps are only similar. Photoshop can do a lot of things that AE cannot and vice versa. The biggest similarity is layering, the biggest difference is that Photoshop is designed primarily to work on the still images and After Effects is designed to work on video.
Nice. Could you give some examples please?
Example: You cannot use AE to manipulate images with huge size.