An infinitive can be used after a noun, or an indefinite pronoun like something, to explain the purpose of a particular thing: what it does, or what somebody does with it. The noun or pronoun can be the subject of the infinitive.
- Have you got a key to open this door? (The key will open the door.)
- It was a war to end all wars.
- I'd like something to stop my toothache.
The noun or pronoun can also be the object of the infinitive.
- I need some more books to read. (I will read the books.)
- Is there any milk to put on the cornflakes?
- Did yo u tell her which bus to take?
- Is there anything to drink?
If the noun or pronoun is the object of the infinitive, we do not add an object pronoun after the infinitive.
- I gave her a paper to read (NOT ...a paper to read it)
- He needs a place to live in. (NOT... a palace to live in it)