Answer:
Protect their DNA from being excised by their own restriction enzymes such as EcoR1. The bacteria has enzymes that go through and methyl the N6 position of their adenines in order to prevent their own restriction enzymes from cutting their DNA up.