consumer science or

chemistry

What is the field of science if I am dealing with the problem which detergent works the best?