Heat is produced by the friction of two things rubbing against each other.
(Heat; is produced; by the friction of two things) (two things; rubbing; against each other)
Heat two things
is produced rubbing
by the friction of two things
against each other