Playing animations on click... Help!!

How do I play annimations on click? I have tried everything!

Ps… Thanks for that, it works great!

function Update() {
if(Input.GetMouseButtonDown(0))
animation.Play();
}

For Unity 5 C#

 void Update () {
	if (Input.GetMouseButtonUp (0)) {
		Bottle.GetComponent<Animation> ().Play;
 }