What is monoecious and dioecious condition in plants? Explain with an example

What is monoecious and dioecious condition in plants? Explain with an example.