Text this: Fundamentals of materials for energy and environmental sustainability