The difference between this and that is that this is used to refer to something that is nearby, while that is used to refer to something that is farther away.