It's legal to have relationships in it (3)
I believe the answer is:
law
'it' is the definition.
The definition suggests a singular noun which matches the answer.
I can't explain the remainder of the clue.
Can you help me to learn more?
(Other definitions for law that I've seen before include "Collection of rules for a society" , "Body of rules of conduct for a society" , "Rule prohibiting certain actions" , "Official rule" , "Rule of conduct" .)