Fitting solar panels to your home is a sizeable undertaking, so it’s understandable in a country like the UK to be concerned about their performance when it’s cloudy.
Thankfully, the short answer is: yes, solar panels work on cloudy days. Even when overcast, the panels continue to generate electricity, which can then be used to power your home, stored for use later, or earn money by being exported to the grid.