Caffeine for Mac is described as 'Caffeine is a tiny program that puts an icon in the right side of your menu bar. Click it to prevent your Mac from automatically going to sleep, dimming the screen or starting screen savers' and is a popular prevent sleep mode app in the os & utilities category. There are more than 25 alternatives to Caffeine for Mac for a variety of platforms, including Mac, Windows, Android, Linux and Web-based apps. The best Caffeine for Mac alternative is Amphetamine, which is free. Other great apps like Caffeine for Mac are PowerToys - Awake, Caffeine for Windows, Stimulator and Caffeine for Linux.
I'm using insomniax to prevent my macbook pro from going idle when i close the lid. This means that I can use it to play music (e.g. iTunes or Spotify) and use my iPhone to remote control it.