Unisexual flowers are present on the same plant in
Coconut
When each flower has functional male and female parts the flower is said to be perfect. An imperfect flower, then, is one that has either functional male parts (staminate flowers), or functional female parts (pistillate or carpellate flowers), but not both. When a plant has imperfect flowers, they can be arranged in one of two ways.
If separate staminate and carpellate flowers are always found on the same plant, the species is called monoecious. If separate staminate and carpellate flowers are always found on different plants, the species is called dioecious.