1 used to show what something is made from: --
2 used to show the reason why someone does something: --
I should be able to find one dress out of all this lot that suits me.
Nine out of ten cats prefer this brand of cat food, apparently.
I've heard that, out of all the applicants for the job, he was the only graduate.
He's the only child out of the whole class who's not going on the school trip.
She finished with him and, out of revenge, he told her husband about their affair.