If a married person commits adultery, they have sex with someone that they are not married to.
She is going to divorce him on the grounds of adultery.
她打算以丈夫与人通奸为由离婚。