In every currency pair, the base currency is the first one. In EUR/USD it is the euro; in USD/JPY it is the US dollar; in GBP/JPY it is the pound.
The price of a pair tells you how much of the second currency (the quote currency) one unit of the base buys. If EUR/USD is 1.10, one euro costs 1.10 dollars.
Buying and selling the base
When you buy a pair you are buying the base currency and selling the quote currency. When you sell a pair, you do the reverse. So buying EUR/USD is a bet that the euro will strengthen against the dollar.
Trade sizes are also measured in the base currency. One standard lot of GBP/USD is £100,000, while one lot of USD/JPY is $100,000. That affects the margin you need, because margin is worked out on the position's value in the base currency and then converted into your account currency.