How is touch defined?

How is touch input defined and is it the same for both iphone and android?

I mean, does it act like a mouse cursor, or is it controlled in some other way?

For example if I make a script where when player holds mouse1, the object will follow mouse. Will that work on touch devices or do they need some special code?

My experience with it so far is it works same on both platforms.