Identifying the constituents of organic compounds