I'm having difficulty understanding implied domains and ranges with relation to inverse trig functions which have a normal trig function inside.

For example, f(x) = arccos(sin(x)), how would one go about finding the domain and range of such a function? I understand that the normal arccos domain is -1 to 1, but the inner functions role confuses me.