How is chemistry applied in technology?