While it helps, you don't have to play A Link to the Past before playing A Link Between Worlds. However, you should be aware that both games share a similar story and setting.