TTFB is the time a server takes to render the first byte of your website. TTFB actually measures how fast your server is and not how fast your website is. The website speed you can improve by optimizing it. But if the TTFB is bad, then even an optimized website will perform poorly in the speed test