An AMI is an image of the filesystem for your boot volume. A base AMI contains an operating system. However, you can launch AMIs that have applications already installed and pre-configured.
These are available from the AWS marketplace or the AWS community, or you can launch custom AMIs that you configure for yourself.