We combine both disjunctions and conjunctions together. Consider:
happy(Person):-This can be informally interpreted as meaning that
A woman is happy if she is healthy, wealthy or wiseWe now combine the OR tree representation together with an AND tree representation to form an AND/OR tree that shows the structure of the definition of happy/1.
Note that the logical variable in the diagram has been renamed to P. There is no significance in this renaming.