The Senate on Wednesday unanimously approved a roughly $2.2 trillion stimulus package to address the economic impact of the coronavirus, pushing through one of the largest pieces of legislation in the modern history of Congress as the nation braces for the deepening impact of the outbreak.

The bill is aimed primarily at addressing the economic calamity that’s unfolding because of shutdowns intended to slow the spread of the outbreak, with analysts making dire predictions about soaring unemployment claims and economic contraction.

The legislation takes a multipronged approach to confronting the mounting crisis. It contains a number of measures aimed directly at helping workers, including stimulus checks for millions of Americans, and others to shore up the government safety net, with provisions such as more food stamp spending and more robust unemployment insurance benefits.

It also includes numerous provisions to help businesses weather the impending crunch, providing them with zero-interest loans, tax breaks and other subsidies.

The bill also includes some measures aimed at the public health crisis, providing at least $100 billion for American hospitals to help them survive what is expected to be an overwhelming influx of patients.

Here is an overview of what’s in the Senate package, with expected costs of some of the key provisions. The bill, more than 800 pages in all, also includes numerous measures that are not listed here. The cost estimates are provided by the Center for a Responsible Federal Budget, a non-partisan think-tank.

$1,200 checks for millions of Americans: The Senate package would send direct checks to tens of millions of families to stimulate the economy, a plan pushed by President Trump and Treasury Secretary Steven Mnuchin to help families deal with the economic shock of the virus.

The legislation would give taxpayers $1,200 per adult and $500 per child. The benefit would be smaller for individual taxpayers earning over $75,000 annually (or $150,000 for a couple filing jointly) and disappear altogether for individuals earning over $90,000. The Senate also scrapped a provision in the initial GOP legislation that would have offered smaller checks to the poorest families after it was heavily criticized by lawmakers of both parties.

Eligibility for the benefit will be determined by a taxpayers’ 2019 or 2018 tax returns. Critics have said tying eligibility to last year’s tax returns could mean the benefit fails to reach those hit by the current downturn. Critics also have raised concerns that it would be difficult for the poor and homeless to receive the benefit.

Mnuchin said Wednesday he wants the money to be sent in the next few weeks, and it will arrive via direct deposit or mail based on 2019 or 2018 tax return information. Former IRS officials have said the timeline is aggressive.

House Speaker Nancy Pelosi (D-Calif.) on Monday unveiled a more aggressive version of the plan, pushing for checks of $1,500 per adult and $1,500 per child, with a cap of $7,500 per family.

TOTAL COST: $290 billion

Increase in unemployment insurance benefits: The Senate package would also dramatically beef up unemployment insurance benefits to protect workers from massive expected job losses in the coming weeks.

Currently, unemployment insurance pays an average benefit of $300 a week, about a third of the typical wage in the United States. That benefit is partially paid by employers, who are required to kick in money to the unemployment insurance system. It can take weeks for people who fall into unemployment to have their claim processed by state governments.

The Senate plan overhauls the existing system. The proposal extends unemployment benefits to people who may not have been fired but are unable to work as a result of coronavirus — because they are sick, quarantined or need to take care of a child forced to stay home from school.

Under the Senate bill, the federal government would provide an additional $600 on top of existing unemployment benefits, which are currently an average of $300, for four months. A handful of Senate Republicans argued Wednesday that the expansion would hurt the economy by making the unemployment insurance benefit larger than the minimum wage.

The new benefits would be covered by the federal government, as employers are expected to get hammered and may lose the capacity to fund unemployment benefits. A previously passed coronavirus package gave states $1 billion in additional funding to prepare their unemployment programs for the expected onslaught over the coming weeks.

Total cost: $260 billion

Aid to large businesses, new oversight measures: One of the more controversial provisions in the package is a provision for hundreds of billions of dollars in loans for large businesses getting hit hard by the outbreak. Critics have called that provision a bailout for corporate America.

The plan includes aid for “severely distressed industries” consisting primarily of loans and loan guarantees allocated by the Treasury Department and the Federal Reserve. The funding initially consisted primarily of loans but was later expanded to also include direct grants for the airlines.

That money includes $25 billion in grants for the passenger airlines; $25 billion in loans for passenger airlines; $17 billion for companies deemed critical to national security; and $425 billion for other businesses, cities and states, allocated through funding mechanisms set up by the Federal Reserve. The $17 billion for firms essential to national security was written largely to benefit the aerospace manufacturer Boeing.

Democrats initially balked at giving the administration wide latitude over the program, with some liberal critics calling it a “corporate slush fund,” while administration officials argued the money is needed to shore up companies forced to shutter through no fault of their own.

The legislation does include restrictions on salary increases for executives of firms receiving bailout money, as well as a prohibition on issuing stock buybacks that primarily benefit company shareholders. Those provisions last only a limited time. The White House agreed toward the end of negotiations to include new oversight measures for the fund, including a congressional oversight panel and a new inspector general to probe the decisions made by Treasury, as well as prohibitions on the funding benefiting the president, vice president, Cabinet members or congressional lawmakers. The prohibition also applies to these federal officials’ relatives.

The $425 billion fund will also go through the Federal Reserve’s lending facilities, a system that was activated during the 2000-2009 financial crisis, which would limit Mnuchin’s ability to control the funding, said Ernie Tedeschi, a former Obama administration economist. The criteria for accessing that funding must be “broad-based” and cannot benefit any one company, Tedeschi said.

Because much of these are loans, the ultimate cost of this part of the stimulus may end up less.

TOTAL COST: $504 billion

Emergency aid for small businesses. The bill also aims to help small companies weather the economic storm. It does so through generous zero-interest loans for firms with fewer than 500 employees — loans that could be forgiven if the firms follow certain conditions, such as not firing their workers.

Written by Sen. Marco Rubio (R-Fla.) with significant input from congressional Democrats, the package includes close to $400 billion in loans made available through lenders certified by the Small Business Administration, such as banks and credit unions. The maximum loan is capped at $10 million.

The loans convert to grants if used for covering employee salaries, rent, paid leave, utility payments, health insurance premiums or other necessities or worker protections. The legislation includes guardrails aimed at preventing business owners from pocketing the money being lent. Loans given to firms with tipped employees, such as bars and restaurants, could be forgiven if they are used to provide additional wages to their employees. Nonprofits can also apply for these funds.

Because these are loans, some of this spending may be paid back.

TOTAL COST: $377 billion

Business tax cuts, deferrals. The law also includes numerous changes to the taxes paid by firms that are aimed at giving them an additional buffer against likely economic headwinds, although were met skeptically by liberals.

The Republican tax law of 2017 limited to 30 percent the amount firms could deduct off their interest. In a move to improve business liquidity, the coronavirus package increases that number to 50 percent. It also gives firms greater ability to deduct losses against taxable income, which proponents say will primarily help unprofitable firms weather the downturn.

The package also delays the payroll taxes typically paid by employers on wages, a cut intended to help firms survive a liquidity crunch. The 6.2 percent tax on wages businesses normally pay would instead have to be paid over the following two years, with the first half due Dec. 31, 2021, and the second half due at the end of 2022. Lawmakers of both parties have said the provision will not draw funds from the Social Security Trust Funds.

It also offers numerous delays on corporate and business taxes and would allow the hospitality industry to immediately write off the costs of building improvements, changing a provision accidentally included in the 2017 Republican tax law. Those changes were opposed by many Democrats.

TOTAL COST: $280 billion

Hospitals, expanded health-care spending. The legislation also includes hundreds of billions of dollars in funding to help prepare America’s health-care infrastructure for the coronavirus.

The centerpiece of that section of the bill, a key ask of Senate Democrats, is a $100 billion fund for hospitals and providers hit hardest by the outbreak. That money can be used for protective gear for health-care workers, testing supplies and emergency operation centers, among other necessities. The provision was written amid bleak outlooks at many hospitals, particularly in rural America, that fear they will be overrun by a massive influx of patients.

The legislation also increases funding for community health centers; Medicare payments; telehealth and home service; and public health agencies such as the Center for Disease Control and Prevention.

TOTAL COST: $180 billion

Emergency aid for state and local governments: States are expected to be hammered by the economic crunch, both with rising costs as people seek additional public assistance and lower tax revenue because of falling business activity. The federal aid package provides $150 billion to state and local governments, including $8 billion for tribal governments.

Each state will receive a minimum of $1.5 billion. Experts say Washington, D.C., received a disproportionately small amount of money based on its population because it was grouped for funding with U.S. territories.

The package also includes $25 billion in infrastructure grants for states around the country.

TOTAL COST: $175 billion

Other items in the package include $45 billion for the Federal Emergency Management Agency’s disaster relief fund; $31 billion to support local schools and colleges; $25 billion for the nation’s transit systems; and $25 billion for more food stamp funding.