I want to put a transparent object in front of another object.

Rendering is possible by using the following setting.

Go to "Create / Cameras / Free Camera (Target Camera)" and enable "Multi-Pass Effect".