Change the points in the given sentence into a single sentence.
The dog barked. It wagged its tail.
The dog barked and wagged its tail.
Complete the following task based on the instruction and optional input provided.### Instruction:
Change the points in the given sentence into a single sentence.

### Input:
The dog barked. It wagged its tail.

### Output:
The dog barked and wagged its tail.