Personal jurisdiction and subject matter jurisdiction

Define and explain what personal jurisdiction and subject matter jurisdiction mean and how these terms are relevant to one who does business in different states.