1. make hay while the sun shines - Verb
2. make hay while the sun shines - Phrase
(literally, agriculture) To make hay during favourable (dry) weather.
(idiomatic) To act while an opportunity exists; to take action while a situation is favorable.
Source: en.wiktionary.org