Metal Gear Solid 4: Guns of the Patriots earns its M (Mature) rating from the ESRB due to a long list of content descriptors: violence, blood, gore, sexual content, suggestive themes, use of tobacco, crude humor, and strong language.
Taken together, these elements clearly place it in the mature category, making it a title aimed at adult players.