Bagels, gels, fruit, pasta—here’s everything you need to know about this important fuel source.