What makes swing music swing?

The triplet feel and the emphasis on the 2 and 4 beats