The flower like structure is called a spadix and traps flies to help with pollination. The brilliant red berries which follow are poisionous.