Why would the vice president take over the president's job? Who becomes president if the vice-president cannot serve as president? (Site 1)

Why was the 25th Amendment enacted during John F. Kennedy's presidency? (Site 1)