Apex code is a strongly-typed programming language that executes on the Force.com platform. Using Apex code, you can add business logic to applications, write database triggers, and create Visualforce controllers.
Apex code has a tight integration with the database and query language, web services, and email handling support.
It also includes features such as asynchronous execution and support for testing