Brain sand is primarily composed of inorganic materials such as calcium phosphate and calcium carbonate. Other components include magnesium phosphate and ammonium phosphate. The exact composition can vary, but calcium compounds are the most consistent and abundant elements.