Not in the order you asked...
__________________________________________
"why is Cos and Sin function used to represent a SHM eqn"
Imagine something performing SHM - e.g. a mass on a spring bouncing up and down.
The displacement is the vector which measures how far the mass is on either side of the central position. E.g. the mass might be 2.0cm to above the centre: displacement = +2.0cm. A short time later the mass might be 1.2cm below the centre: displacement = -1.2cm.
The displacement changes continuously in a repeating pattern. If you plot a graph of displacement against time, you get patterns like the 1st link (sine graph) or 2nd link (cosine graph). You can get patterns in-between these, but keep it simple and ignore these.
The graphs have equations. So you can have an equation to work out the displacement (x) at any time if you have some other information. The equation might be, for example
x = 3.0sin(5t)
or
x = 43.1cos(0.2t
The number in front of the 'sin' or 'cos' is the amplitude. The number before the ''t' is called the angular frequency.
__________________
"Whats is the relation between SHM and Wave?
sumone said that each particle in Wave Do SHM.Is that true?"
Yes - they are corect (for a simple waves).
Imagine a transverse wave moves left to right. E.g waves on the surface of water. Each water particle actually moves up and down, following the same pattern as the motion of the mass mentioned above. So each water particle in a wave is performing SHM.
If you watch one of the red particles in the 3rd link, this should be clear.