Is the sine, cosine and tangent using in right-angled triangles only?

yes. That is the way they are defined.