風 is wind, which blows away all our discomfort, 月 is moon, which light is soft and beautiful. Therefore, 風月 is used to represent the time or something beautiful, and is also used to describe the romance between man and woman.

Reference