Google Font API uses a CSS property called @font-face. @font-face allows you to use font files just like in desktop applications such as Microsoft Word or Adobe Photoshop. Using Google Font API is a great solution for avoiding the many problems that exist when using @font-face in your website.
Learn more about it here: HOW TO: Implement Google Font API on Your Website / Google Fonts