Moringa oleifera is a tropical or subtropical plant belonging to a diverse genus native to Africa and southern Asia .