What does panacea mean?

Panacea refers to a solution to problems. An example of panacea in a sentence might be, Some people believe coconut oil is a panacea for all health problems, curing every possible illness.