A compound is a pure substance that contains two or more elements chemically bonded together in a fixed proportion by mass. Glucose, with the chemical formula C6H12O6, is a compound made up of carbon (C), hydrogen (H), and oxygen (O) atoms bonded together in a specific arrangement. The atoms in glucose are held together by covalent bonds, which are strong chemical bonds formed when atoms share electrons.