Given the important role that sunlight plays in the attractiveness and value of property, it is protected by various legal provisions.