what does heads mean in science

as in Heads or Tails, when you flip a coin? Or when you cut off the head of plantaria, and it grows two heads? You have to put it in context.