John Locke's An Essay Concerning Human Understanding explores the origins and types of ideas. Locke argues that ideas originate from either sensation as we perceive the external world through our senses, or reflection as the mind considers its own operations. He categorizes ideas as simple or complex and divides qualities of objects into primary qualities, like shape and size, and secondary qualities like color or smell. While we can be certain of our own existence and use reason to deduce God's existence, true knowledge of external things ultimately depends on our sensory experience.