Since a compound is often first discovered in nature instead of being made on purpose in a lab, people may know the compound exists, and even know what it does sometimes, but not know exactly what atoms it is made of and how it is arranged. There are several ways of taking an unknown compound and finding out this structure: